<%--
  Created by IntelliJ IDEA.
  User: MAOQIN
  Date: 2020/5/19
  Time: 20:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>叶子微客</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
</head>
<body>
<div class="suc">

    <div class="title"><h2>操作提示</h2></div>

    <ul>

        <li><h3 class="font1">未登录或退出时间过长而导致登录过期</h3></li>

        <li><h3>将在<span id="second">3</span>秒后自动跳转登录界面</h3></li>

    </ul>
</div>

<script type="text/javascript">
    window.onload = function () {
        var count = 3;
        setInterval(function () {
            count--;
            if (count <= 0) {
                window.location.href = "/";//跳转后的页面
            } else {
                document.getElementById("second").innerHTML = count;
            }
        }, 1000);
    }
</script>
</body>
</html>
